package cn.edu360.day08.bean;

/**
 * 封装岗位信息
 */
public class Job {
    private String jobName;
    private String comName;
    private String addr;
    private String price;
    private String date;

    public void set(String jobName, String comName, String addr, String price, String date) {
        this.jobName = jobName;
        this.comName = comName;
        this.addr = addr;
        this.price = price;
        this.date = date;
    }

    @Override
    public String toString() {
        return "Job{" +
                "jobName='" + jobName + '\'' +
                ", comName='" + comName + '\'' +
                ", addr='" + addr + '\'' +
                ", price='" + price + '\'' +
                ", date='" + date + '\'' +
                '}';
    }

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public String getComName() {
        return comName;
    }

    public void setComName(String comName) {
        this.comName = comName;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }
}
